package com.csust.automaticteach.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 提示词表
 * @TableName t_prompt_self
 */
@TableName(value ="t_prompt_self")
@Data
public class PromptSelf implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.ASSIGN_ID)
    private Long id;

    /**
     * 科目
     */
    @TableField(value = "subject")
    private String subject;

    /**
     * 职责
     */
    @TableField(value = "role")
    private String role;

    /**
     * 作用
     */
    @TableField(value = "effect")
    private String effect;

    /**
     * prompt内容
     */
    @TableField(value = "content")
    private String content;
    /**
     * prompt状态(1为启用/2为封禁)
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 创建时间
     */
    @TableField(value = "createTime")
    private Date createTime;

    /**
     * 更改时间
     */
    @TableField(value = "updateTime")
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}